package com.ruyuan.user.server.controller.request;

import lombok.Data;

import javax.validation.constraints.NotNull;
import java.io.Serializable;
import java.util.List;

/**
 * @author xx
 */
@Data
public class GrantUserRoleRequest implements Serializable {
    private static final long serialVersionUID = -32174673308296365L;

    @NotNull(message = "用户ID不能为空")
    private Long userId;

    private List<Long> roleIdList;

}
